/*
 * 公共css
 */


 /* 手机端公共布局 */
 html,body{
    width: 100%;
    height: 100%;
 }
 body{
    display: flex;
    flex-direction: column;
 }
 main{
    flex: 1;
    overflow-y: scroll;
    overflow-x: hidden;
 }
 /* 手机端公共布局 */


/* 公共尾部 */
.public-footer{
    height: 77px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    a{
        color: #101010;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        line-height: 30px;
        i{
            font-size: 36px;
        }

        &.active{
            color: #7bcbf5;
        }
    }
}


// 圈子公共头部
.public-header {
    display: flex;
    justify-content: space-between;
    height: 50px;
    // background: red;
    margin-top: 20px;

    nav {
        width: 277px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;

        a {
            font-size: 20px;
            color: #9A9A9A;

            &.active {
                font-size: 20px;
                color: #4294FF;
                border-bottom: 3px solid #AAD9F7;
                font-weight: bold;
            }
        }
    }

    div {
        width: 70px;
        height: 40px;
        background: #AAD9F7;
        color: #005177;
        border-radius: 30px;
        line-height: 40px;
        text-align: center;
    }

}
// 圈子公共头部

// 运动公共头部
.run-header{
    height: 49px;
    line-height: 47px;
    border-bottom: 1px solid #ddd;
    nav{
        display: flex;
        justify-content: space-around;
        
        a{
            font-size: 16px;
            color: #9A9A9A;
            &.active {
                font-size: 20px;
                color: #4294FF;
                border-bottom: 5px solid #AAD9F7;

            }
        }
    }
}
// 运动公共头部





/*
 * 可复用的公有布局
 */

 .base-ipt{
   position: relative;
   height: 50px;
   line-height: 50px;
   border-radius: 25px;
   width: 100%;
   padding-left: 25px;
   background: rgba(255,255,255,.5);
   font-size: 20px;
   color: white;
   &::placeholder{
    position: absolute;
    top: 0px;
    color: #ccc;
    font-size: 16px;
    letter-spacing: 1px;
    line-height:50px;
  }
 }
 .submit{
   display:block;
   height: 50px;
   text-align: center;
   line-height: 50px;
   color: white;
   border-radius: 25px;
   letter-spacing: 2px;
   background: rgba(56, 128, 91,.8);
 }
.captcha-ipt{
  width: 213px;
}
.captcha{
  width: 123px;
}

//tabbar的样式
.tabbar {
    padding: 0 14px;
    height: 77px;
    border: 1px solid #ddd;
    background: white;
    .iconfont {
      font-size: 30px;
    }
    .item {
      &.active {
        color: #4294ff;
      }
      span {
        margin-top: 5px;
        font-size: 14px;
      }
    }
  }

  .navbar {
    height: 57px;
    margin: 0 20px;
    border-bottom: 1px solid #ddd;
    .item {
      height: 100%;
    }
    .active {
      font-size: 20px;
      font-weight: bold;
      color: #4294ff;
      border-bottom: 3px solid #4294ff;
    }
  }
  
  .shadow {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
  }